package com.czmh.etc.onlinepubsys.services.impl;

import com.czmh.etc.onlinepubsys.maper.EtcCancelMapper;
import com.czmh.etc.onlinepubsys.model.EtcCancel;
import com.czmh.etc.onlinepubsys.model.EtcObuDTO;
import com.czmh.etc.onlinepubsys.model.EtcObuUser;
import com.czmh.etc.onlinepubsys.services.EtcCancelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("etcCancelService")
public class EtcCancelServiceImpl implements EtcCancelService {
    @Autowired
    private EtcCancelMapper etcCancelMapper;

    @Override
    public EtcCancel queryObject(String id) {
        return etcCancelMapper.queryObject(id);
    }

    @Override
    public List<EtcCancel> queryList(Map<String, Object> map) {
        return etcCancelMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return etcCancelMapper.queryTotal(map);
    }

    @Override
    public int save(EtcCancel etcCancel) {
        return etcCancelMapper.save(etcCancel);
    }

    @Override
    public int saveSelective(EtcCancel etcCancel) {
        return etcCancelMapper.saveSelective(etcCancel);
    }

    @Override
    public int saveList(List<EtcCancel> etcCancels) {
        return etcCancelMapper.saveList(etcCancels);
    }

    @Override
    public int update(EtcCancel etcCancel) {
        return etcCancelMapper.update(etcCancel);
    }

    @Override
    public int delete(String id) {
        return etcCancelMapper.delete(id);
    }

    @Override
    public int deleteBatch(String[] ids) {
        return etcCancelMapper.deleteBatch(ids);
    }

    @Override
    public List<EtcObuUser> queryInfoList(Map<String, Object> map) {
        return etcCancelMapper.queryInfoList(map);
    }

    @Override
    public List<EtcObuUser> queryInfoListByType(Map<String, Object> map) {
        return etcCancelMapper.queryInfoListByType(map);
    }

    @Override
    public int queryInfoTotalByType(Map<String, Object> map) {
        return etcCancelMapper.queryInfoTotalByType(map);
    }

    @Override
    public int queryInfoTotal(Map<String, Object> map) {
        return etcCancelMapper.queryInfoTotal(map);
    }

}
